package top.huxy.boot.service;

import com.github.pagehelper.PageInfo;
import top.huxy.boot.model.dto.Pager;
import top.huxy.boot.model.dto.Query;
import top.huxy.boot.model.entity.ScheduleJobLog;
import top.huxy.boot.util.obj.Pagination;

import java.util.List;

/**
 * @Classname ScheduleLogService
 * @Description ScheduleLogService
 * @Date 2021/9/19 12:51
 * @Created by huxy
 */
public interface ScheduleLogService {
    int getScheduleLogCount();

    List<ScheduleJobLog> getScheduleLogList(Pagination pagination);

    int saveLog(ScheduleJobLog scheduleJobLog);

    PageInfo<ScheduleJobLog> getScheduleLogListByFilter(Pager pager, Query query);

    List<Integer> getScheduleLogJobIds();
}
